package com.xja.tt.mapper;


import com.xja.tt.bean.Student;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface StudentMapper {
    List<Student> findAllStudents() throws Exception;

    int addstu(Student student);

    Student findStudentByNum(Integer num);
    int upDateStudentByNum(Student student);
    void deleteStudent(Integer number) throws Exception;
}